package com.lightningtrade.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(description = "描述推荐商品轮播信息")
public class RecommendedCarousel {

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    @ApiModelProperty(value = "轮播ID", example = "1", notes = "轮播商品的唯一标识")
    private int id;

    @ApiModelProperty(value = "商品ID", example = "1001", notes = "商品的唯一标识")
    private int productId;

    @ApiModelProperty(value = "图片URL", example = "http://example.com/image.jpg", notes = "商品图片的URL")
    private String imageUrl;

    @ApiModelProperty(value = "标题", example = "热销商品", notes = "推荐商品的标题")
    private String title;

    @ApiModelProperty(value = "描述", example = "这是一个热销商品", notes = "推荐商品的详细描述")
    private String description;

    @ApiModelProperty(value = "开始时间", example = "2024-01-01T00:00:00", notes = "推荐展示的开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间", example = "2024-01-31T23:59:59", notes = "推荐展示的结束时间")
    private Date endTime;

    @ApiModelProperty(value = "优先级", example = "1", notes = "显示优先级，值越小越优先展示")
    private int priority;

    @ApiModelProperty(value = "状态", example = "1", notes = "状态 (1=启用, 0=禁用)")
    private int status;

    @ApiModelProperty(value = "创建时间", example = "2023-12-01T12:00:00", notes = "记录的创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "更新时间", example = "2023-12-01T12:30:00", notes = "记录的最后更新时间")
    private Date updatedAt;

    // Getters and Setters
}
